Skip to content

Add regression test for IVM resetting the encoding context#1022

Open
popematt wants to merge 1 commit into
amazon-ion:mainfrom
popematt:symtab-reset
Open

Add regression test for IVM resetting the encoding context#1022
popematt wants to merge 1 commit into
amazon-ion:mainfrom
popematt:symtab-reset

Conversation

@popematt
Copy link
Copy Markdown
Contributor

@popematt popematt commented May 12, 2026

Issue #, if available:

fix #1020

Description of changes:

When investigating #1020, I discovered that it was already fixed by #940 (but that change had not yet been released). That PR added test cases for the conformance test runner, but the issue also existed (and was also fixed) for non-conformance-test use cases. Before closing #1020, I want to add the reproduction from the issue so that if we ever update/replace the conformance tests, we don't lose the test coverage for this case.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@popematt popematt changed the title Add regression test for #1020 Add regression test for IVM resetting the encoding context May 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 80.95238% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.00%. Comparing base (96d4ff5) to head (3395fab).

Files with missing lines Patch % Lines
src/lazy/reader.rs 80.95% 0 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1022      +/-   ##
==========================================
+ Coverage   78.97%   79.00%   +0.02%     
==========================================
  Files         140      140              
  Lines       34822    34843      +21     
  Branches    34822    34843      +21     
==========================================
+ Hits        27502    27526      +24     
+ Misses       5245     5238       -7     
- Partials     2075     2079       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Element::read_all() does not reset symbol table on IVM in concatenated Ion 1.0 documents

1 participant